package com.bbm.communitysystem.service;

import com.bbm.communitysystem.domain.LikePost;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbm.communitysystem.domain.bo.LikePostBo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author transitory
 * @since 2025-02-20
 */
public interface ILikePostService extends IService<LikePost> {

    /**
     * 点赞 帖子
     * @param likePost
     * @return
     */
    int likePost(LikePost likePost);

    /****
     * 删除点赞帖子
     * @param id
     * @return
     */
    int delLikePost(Integer id);

    /****
     * 删除点赞帖子2
     * @return
     */
    int delLikePost(LikePostBo likePostBo);

    /****
     * 点赞评论
     * @param likePostBo
     * */
    int likeComment(LikePostBo likePostBo);

    /****
     * 删除评论
     * @param likePostBo
     * */
    int delLikeComment(LikePostBo likePostBo);

}
